export default {
  name: [{ required: true, message: "选择商品不能为空", trigger: "blur" }],
  storage_name: [
    { required: true, message: "选择商品不能为空", trigger: "blur" }
  ],
  stock_out_goods_spu_id: [
    { required: true, message: "选择调出SKU不能为空", trigger: "blur" }
  ],
  storage_goods_spu_id: [
    { required: true, message: "选择调入SKU不能为空", trigger: "blur" }
  ],
  stock_out_num: [
    { required: true, message: "调出数量不能为空", trigger: "blur" },
    {
      pattern: /^(\-)?(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和小数",
      trigger: "blur"
    }
  ],
  ious_initnum: [
    { required: true, message: "白条初始数量不能为空", trigger: "blur" },
    {
      pattern: /^(\-)?(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和小数",
      trigger: "blur",
    },
  ],
  storage_num: [
    { required: true, message: "调入数量不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和小数",
      trigger: "blur"
    }
  ]
};
